package com.yuchen.ishop.goods;

import com.yuchen.core.MyPager;
import com.yuchen.ishop.entity.GoodsTemplate;
import com.yuchen.jaxrs.Responses;

import java.util.Map;

/**
 * 商品模板
 */
public interface GoodsTemplateService {

    MyPager find(Map params);

    GoodsTemplate get(Long id);

    Responses insert(GoodsTemplate goodsTemplate);

    Responses delete(Long id);

    Responses update(GoodsTemplate goodsTemplate);

    Boolean isExistTemplate(Map map);

}
